home *** CD-ROM | disk | FTP | other *** search
-
-
-
- AAAALLLLggggeeeettttssssaaaammmmppppffffmmmmtttt((((3333ddddmmmm)))) AAAALLLLggggeeeettttssssaaaammmmppppffffmmmmtttt((((3333ddddmmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- ALgetsampfmt, ALsetsampfmt - (obsolete) get/set the sample format setting
- in an audio AAAALLLLccccoooonnnnffffiiiigggg structure
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////aaaauuuuddddiiiioooo....hhhh>>>>
-
- lllloooonnnngggg AAAALLLLggggeeeettttssssaaaammmmppppffffmmmmtttt((((AAAALLLLccccoooonnnnffffiiiigggg ccccoooonnnnffffiiiigggg))))
-
- iiiinnnntttt AAAALLLLsssseeeettttssssaaaammmmppppffffmmmmtttt((((AAAALLLLccccoooonnnnffffiiiigggg ccccoooonnnnffffiiiigggg,,,, lllloooonnnngggg ssssaaaammmmpppplllleeeeffffoooorrrrmmmmaaaatttt))))
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR
- _c_o_n_f_i_g expects an AAAALLLLccccoooonnnnffffiiiigggg structure, the returned value of a
- call to AAAALLLLnnnneeeewwwwccccoooonnnnffffiiiigggg((((3333ddddmmmm)))) or AAAALLLLggggeeeettttccccoooonnnnffffiiiigggg((((3333ddddmmmm)))).
-
- _s_a_m_p_l_e_f_o_r_m_a_t expects a symbolic constant that identifies the format of
- an audio sample. There are three symbolic constants
- defined for this parameter.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- AAAALLLLsssseeeettttssssaaaammmmppppffffmmmmtttt and AAAALLLLggggeeeettttssssaaaammmmppppffffmmmmtttt are obsolete and are provided for backward
- compatibility. The preferred functions are aaaallllSSSSeeeettttSSSSaaaammmmppppFFFFmmmmtttt((((3333ddddmmmm)))) and
- aaaallllGGGGeeeettttSSSSaaaammmmppppFFFFmmmmtttt((((3333ddddmmmm)))).
-
- AAAALLLLsssseeeettttssssaaaammmmppppffffmmmmtttt((((3333ddddmmmm)))) sets the sample format in the AAAALLLLccccoooonnnnffffiiiigggg structure
- _c_o_n_f_i_g. Any audio port that you then configure using _c_o_n_f_i_g will have
- the audio sample format you specify with _s_a_m_p_l_e_f_o_r_m_a_t.
-
- AAAALLLLggggeeeettttssssaaaammmmppppffffmmmmtttt((((3333ddddmmmm)))) returns the current sample format setting in the
- AAAALLLLccccoooonnnnffffiiiigggg structure _c_o_n_f_i_g.
-
- The currently defined set of sample formats found in _a_u_d_i_o._h are:
-
- AL_SAMPFMT_TWOSCOMP
- indicates linear PCM two's complement integer sample
- format. Width of the integer data is one of signed char,
- short, or long as specified by the AAAALLLLsssseeeettttwwwwiiiiddddtttthhhh((((3333ddddmmmm))))
- function.
- AL_SAMPFMT_FLOAT
- indicates linear PCM IEEE 32-bit floating point
- sample format.
- AL_SAMPFMT_DOUBLE
- indicates linear PCM IEEE 64-bit floating
- point sample format.
-
- AAAALLLLsssseeeettttssssaaaammmmppppffffmmmmtttt((((3333ddddmmmm)))) can fail for the following reasons:
-
- AAAALLLL____BBBBAAAADDDD____CCCCOOOONNNNFFFFIIIIGGGG _c_o_n_f_i_g is invalid or null.
-
- AAAALLLL____BBBBAAAADDDD____SSSSAAAAMMMMPPPPFFFFMMMMTTTT _s_a_m_p_l_e_f_o_r_m_a_t is not one of the accepted constants.
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- AAAALLLLggggeeeettttssssaaaammmmppppffffmmmmtttt((((3333ddddmmmm)))) AAAALLLLggggeeeettttssssaaaammmmppppffffmmmmtttt((((3333ddddmmmm))))
-
-
-
- AAAALLLLggggeeeettttssssaaaammmmppppffffmmmmtttt((((3333ddddmmmm)))) can fail for the following reason:
-
- AAAALLLL____BBBBAAAADDDD____CCCCOOOONNNNFFFFIIIIGGGG _c_o_n_f_i_g is invalid or null.
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- Upon successful completion, AAAALLLLggggeeeettttssssaaaammmmppppffffmmmmtttt((((3333ddddmmmm)))) returns a long whose value
- is the same as one of the symbolic constants described above for
- _s_a_m_p_l_e_f_o_r_m_a_t. Otherwise, AAAALLLLggggeeeettttssssaaaammmmppppffffmmmmtttt((((3333ddddmmmm)))) returns -1 and sets an error
- number which can be retrieved with oooosssseeeerrrrrrrroooorrrr((((3333CCCC)))).
-
- Upon successful completion, AAAALLLLsssseeeettttssssaaaammmmppppffffmmmmtttt((((3333ddddmmmm)))) returns 0. Otherwise, -1 is
- returned and an error number is set as described above.
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ALnewconfig(3dm), ALgetconfig(3dm), ALopenport(3dm), ALsetconfig(3dm),
- ALsetfloatmax(3dm), ALgetfloatmax(3dm), oserror(3C)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-